package com.chengh.vhr.mapper;

import com.chengh.vhr.model.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    List<Employee> selectEmployees(String keyword);

    Integer getMaxWordID();

    int deleteEmpsByIds(List<Integer> ids);

    List<Employee> selectWhetherDelete(List<Integer> ids);
}